package com.storeroompda.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.Generated;

@Entity(
        indexes = {
                @Index(value = "code,codesn,type", unique = true)
        }
)
public class CodeInfo {
    @Id(autoincrement = true)
    private Long id;
    private String code;
    private String codesn;
    private String name;
    private int type;
    private String iid;
    private String date;
@Generated(hash = 552036446)
public CodeInfo(Long id, String code, String codesn, String name, int type,
        String iid, String date) {
    this.id = id;
    this.code = code;
    this.codesn = codesn;
    this.name = name;
    this.type = type;
    this.iid = iid;
    this.date = date;
}
@Generated(hash = 1924183095)
public CodeInfo() {
}
public Long getId() {
    return this.id;
}
public void setId(Long id) {
    this.id = id;
}
public String getCode() {
    return this.code;
}
public void setCode(String code) {
    this.code = code;
}
public String getCodesn() {
    return this.codesn;
}
public void setCodesn(String codesn) {
    this.codesn = codesn;
}
public String getName() {
    return this.name;
}
public void setName(String name) {
    this.name = name;
}
public int getType() {
    return this.type;
}
public void setType(int type) {
    this.type = type;
}
public String getIid() {
    return this.iid;
}
public void setIid(String iid) {
    this.iid = iid;
}
public String getDate() {
    return this.date;
}
public void setDate(String date) {
    this.date = date;
}


}

